package day13.pack1;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

public class Test {

    public static void main(String[] args) {
        MyList list = new MyList();
        list.add("hello");
        list.add(123);
        list.add(new User());
        Object obj = list.get(2);

//        for (int i = 0; i < list.size(); i++) {
//            System.out.println(list.get(i));
//        }
    }
}
class User {
    public int a;
    public String name;
    public void say() {}
}